package com.lokyiu.tutorial.java.exerisce3;

import java.util.Random;

public class Car extends Vehicle{
	public Car(String brand){
		Random rand = new Random();
		super.number=rand.nextInt(9999)+1;
		super.fuel = 60 ; //in liter
		super.maxSpeed = 220 ; //in KM/hours
		super.weight = 1200 ; //Kg
		super.acceleration = 10 + rand.nextInt(10); // m/s
		super.horsePower = 350; 
		super.brand = brand;
	}
	
	
}
